@extends('layouts.default')

@section('content')
    <div class="row">
        <div class="col-md-6 col-md-offset-3">
            <h1>Post your Status</h1>
            <br>
            @include('layouts.partials.errors')
                <div class="status-post">
                    {{ Form::open() }}
                        <div class="form-group">
                            {{ Form::textarea('body', null, ['class' => 'form-control',
                                                             'rows' =>3,
                                                             'placeholder' => "What's on your mind?"]) }}
                        </div>
                        <div class="form-group status-post-submit">
                            {{ Form::submit('Post Status', ['class' => 'btn btn-default btn-xs']) }}
                        </div>
                    {{ Form::close() }}
                </div>
            @foreach($statuses as $status)
                @include('statuses.partials.status')
            @endforeach
        </div>
    </div>
@stop